package top.dingwen.io.treasure.sensitive.service;

import com.baomidou.mybatisplus.extension.service.IService;
import top.dingwen.io.treasure.sensitive.po.SensitiveWords;

import java.util.List;


/**
 * ISensitiveWordsService : 敏感词服务
 *
 * @author dingwen
 * @since 2024/11/21 09:31
 */
public interface ISensitiveWordsService extends IService<SensitiveWords> {
    /**
     * 查询逻辑删除的敏感词集
     *
     * @return {@link List }<{@link SensitiveWords }>
     */
    List<SensitiveWords> queryLogicDeletedWords();

    /**
     * 查询敏感词
     *
     * @param lastId  上一次最大的编号
     * @return {@link List }<{@link SensitiveWords }>
     */
    List<SensitiveWords> queryWords(Long lastId);
}
